package cn.com.chengmandian.bike.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("车辆设备Vo")
public class DeviceBikeVo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("车辆编号")
    private String bikeNo;

    @ApiModelProperty("运营区域ID")
    private Integer areaId;

    @ApiModelProperty("是否在运营区内 1-是 0-否")
    private Integer isInArea;

    @ApiModelProperty("车辆使用状态 1.空闲 1.骑行中 2.临时锁车")
    private Integer useStatus;

    @ApiModelProperty("车辆状态 1.未投放 2.已投放 3.故障维修")
    private Integer status;

    @ApiModelProperty("中控数据上传时间")
    private Date controlUpdateTime;

    @ApiModelProperty("经度")
    private BigDecimal lng;

    @ApiModelProperty("纬度")
    private BigDecimal lat;

    @ApiModelProperty("剩余电量")
    private Integer soc;

    @ApiModelProperty("剩余行驶里程")
    private Integer balanceMileage;

    @ApiModelProperty(hidden = true)
    private Integer socMode;

    @ApiModelProperty(hidden = true)
    private Integer bmsMaxDistance;

    @ApiModelProperty(hidden = true)
    private Integer rangSoc;

    @ApiModelProperty(hidden = true)
    private Integer rangDistance;

    @ApiModelProperty("车型")
    private String modelName;

    @ApiModelProperty("处理方式 1-正常使用 2-跳转第三方小程序")
    private Integer handlerType;

    @ApiModelProperty("第三方小程序appId")
    private String thirdMiniAppid;

    @ApiModelProperty("第三方小程序页面")
    private String thirdMiniUrl;
}
